package cn.tk.model.pojo.mr.flow;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created by denglw on 2021/7/16.<br/>
 * Desc: 实体节点
 */
@Data @NoArgsConstructor
public class EntityNodeDTO {

    /**
     * 流程id
     */
    private Long flowId;

    /**
     * 节点id
     */
    private Long nodeId;

    /**
     * 打断后是否可以恢复：0否 1是
     */
    private Boolean recoverable;

    /**
     * 实体值是否保留：0否 1是
     */
    private Boolean appendable;

    /**
     * 待澄清实体列表
     */
    private List<EntityClarify> entityClarifies;

    public EntityNodeDTO(Long flowId, Long nodeId, Boolean recoverable, Boolean appendable) {
        this.flowId = flowId;
        this.nodeId = nodeId;
        this.recoverable = recoverable;
        this.appendable = appendable;
    }
}
